Other Classes
The following classes are available globally.
-
An
MGLAttributedExpressionobject associates text formatting attibutes (such as font size or font names) to anNSExpression.Example
See morelet redColor = UIColor.red let expression = NSExpression(forConstantValue: "Foo") let attributes: [MGLAttributedExpressionKey: NSExpression] = [.fontNamesAttribute : NSExpression(forConstantValue: ["DIN Offc Pro Italic", "Arial Unicode MS Regular"]), .fontScaleAttribute: NSExpression(forConstantValue: 1.2), .fontColorAttribute: NSExpression(forConstantValue: redColor)] let attributedExpression = MGLAttributedExpression(expression, attributes:attributes)Declaration
Objective-C
@interface MGLAttributedExpression : NSObjectSwift
class MGLAttributedExpression : NSObject
-
Information about an attribution statement, usually a copyright or trademark statement, associated with a map content source.
See moreDeclaration
Objective-C
@interface MGLAttributionInfo : NSObjectSwift
class MGLAttributionInfo : NSObject
-
An
MGLEmptyFeatureobject associates an empty shape with an optional identifier and attributes.Declaration
Objective-C
@interface MGLEmptyFeature : MGLShape <MGLFeature>Swift
class MGLEmptyFeature : MGLShape, MGLFeature -
An
MGLPointFeatureClusterobject associates a point shape (with an optional identifier and attributes) and represents a point cluster.See
MGLClusterRelated examples
See the Clustering point data example to learn how to initialize clusters and add them to your map.
Declaration
Objective-C
@interface MGLPointFeatureCluster : MGLPointFeature <MGLCluster>Swift
class MGLPointFeatureCluster : MGLPointFeature, MGLCluster
-
The
See moreMGLLoggingConfigurationobject provides a global way to set this SDK logging levels and logging handler.Declaration
Objective-C
@interface MGLLoggingConfiguration : NSObjectSwift
class MGLLoggingConfiguration : NSObject
-
The
See moreMGLNetworkConfigurationobject provides a global way to set a baseNSURLSessionConfiguration, and other resources.Declaration
Objective-C
@interface MGLNetworkConfiguration : NSObjectSwift
class MGLNetworkConfiguration : NSObject
Install in Dash
Other Classes Reference